.header {
	background-color: black;
	position: sticky;
	height: 70px;
	top: 0;
	z-index: 10;
}

.header__container {
	margin: 0 auto;
	padding: 0 10%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	min-height: 70px;
	position: relative;
}

.logo {
	font-weight: 300;
	font-size: 24px;
	cursor: default;
	letter-spacing: .2em;
}

// convert to burger menu

.header__burger {
	display: none;
	cursor: pointer;
}

.header__navigation {
	z-index: 2;
}

.navigation__list {
	display: flex;
	gap: 10%;

}

.popup {
	display: none;
}

@media (max-width: 767px) {
	.header {
		height: 50px;
	}

	.header__container {
		display: inline-flex;
		min-height: 50px;
	}

	.header__burger {
		display: block;
		position: relative;
		width: 30px;
		height: 20px;
	}

	.header__burger::after,
	.header__burger::before {
		content: "";
		background-color: white;
		position: absolute;
		width: 100%;
		height: 2px;
		left: 0;
	}

	.header__burger::before {
		top: 0;
	}

	.header__burger span {
		position: absolute;
		background-color: white;
		left: 0;
		width: 100%;
		height: 2px;
		top: 45%;
	}

	.header__burger::after {
		bottom: 0;
	}

	.close-popup {
		display: none;
		position: relative;
		width: 30px;
		height: 20px;
	}

	.close-popup::after,
	.close-popup::before {
		content: "";
		background-color: white;
		position: absolute;
		width: 100%;
		height: 2px;
		top: 50%;
		right: 0;
	}

	.close-popup::before {
		transform: rotate(45deg);
	}

	.close-popup::after {
		transform: rotate(-45deg);
	}
	.navigation {
		display: none;
	}

	.popup {
		position: absolute;
		width: 30%;
		height: 30vh;
		min-height: 200px;
		top: 50px;
		right: 0;
		background-color: black;
		color: white;
		z-index: 50;
		display: none;
	}

	.popup.open {
		display: block;
	}

	.popup__body {
		padding: 15px;
		width: 90%;
		height: 90%;
		position: absolute;
		display: flex;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		align-items: center;
		justify-content: center;
	}

	.popup__item {
		padding: 20% 0 20% 0;

		::after {
			display: block;
			position: absolute;
			right: 0;
			width: 0;
			height: 2px;
			background-color: rgb(0, 119, 255);
			content: "";
			transition: width 0.3s ease-out;
		}

		:hover::after {
			width: 100%;
		}

		:active {
			width: 0;
		}
	}

	.popup__link {
		color: white;
	}
}

.navigation__item {
	text-decoration: none;
	transition: all 0.8s;
	position: relative;

	::after {
		display: block;
		position: absolute;
		left: 0;
		width: 0;
		height: 2px;
		background-color: white;
		content: "";
		transition: width 0.3s ease-out;
	}

	:hover::after {
		width: 100%;
	}

	:active {
		width: 0;
	}
}

@media (max-width: 566px) {
	.popup {
		width: 40%;
	}
}

@media (max-width: 400px) {
	.popup {
		width: 50%;
	}
}

.navigation__link {
	color: inherit;
}